package com.tscnd.core.aspect;

import org.aspectj.lang.ProceedingJoinPoint;


public class MyAspect {
	
	/**
	 * aop 环绕通知
	 * @param point
	 * @return
	 * @throws Throwable
	 */
	public Object runOnAround(ProceedingJoinPoint point) throws Throwable{
		  System.out.println("在执行目标对象前发生");   
	        Object object = point.proceed();
	        
	        System.out.println("在执行目标对象后发生");   
	        return object;   
	}
}
